<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<section class="bannergroup<?php echo $params->get( 'moduleclass_sfx' ) ?>">

<?php if ($headerText) : ?>
	<header><h1><?php echo $headerText ?></h1></header>
<?php endif; ?>
<dl>
<?php
foreach($list as $item) :
	echo modBannersHelper::renderBanner($params, $item);
endforeach; ?>
</dl>
<?php if ($footerText) : ?>
	<div class="bannerfooter<?php echo $params->get( 'moduleclass_sfx' ) ?>">
		 <?php echo $footerText ?>
	</div>
<?php endif; ?>
</section>